{
 "cells": [
  {
   "cell_type": "markdown",
   "id": "11f50ece-b4ce-4473-958b-1dc5260ecc56",
   "metadata": {},
   "source": [
    "/media/daybeha/软件/win/桌面/认知地图/CognitiveMap/相关材料/CAN和SNN"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "44f87ad9-61bb-4a68-8b9e-6cb8a89f12f7",
   "metadata": {},
   "source": [
    "# 脉冲神经元模型"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "id": "cb6b9eb4-77b4-46ba-b41a-e977cf14b609",
   "metadata": {},
   "outputs": [],
   "source": [
    "import torch\n",
    "from spikingjelly.activation_based import neuron\n",
    "from spikingjelly import visualizing\n",
    "from matplotlib import pyplot as plt"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "id": "030542ca-000f-4590-b908-2d483d87829d",
   "metadata": {},
   "outputs": [],
   "source": [
    "if_layer = neuron.IFNode()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "486306ff-d65b-4c89-99f5-c7dec953839c",
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3 (ipykernel)",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.10.14"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
